package com.bbex.mapper;

import com.bbex.entity.Coin;
import com.bbex.sql.build.CoinSqlBuild;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface HIDcoinDao {

    List<Map> findDrawLog(String userId);

     int  updateByuserId(String userId,String coinId,String volume);

    List<Map> findRandomLog(Date startTime, Date endTime);

    List<Map> findAwardLog(Date startTime, Date endTime);

    List<Map> getRandomDataReport(@Param("startTime") Date startTime, @Param("endTime")  Date endTime);

}
